﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace DAL
{
   public class Assessment
    {
       public static void insert(AssessmentEntity ass)
       {
           DbHelper.ExecuteNonQuery("P_Assessment_insert",
               ass.qualityAssessment,
               ass.priceAssessment,
               ass.deliveryAssessment,
               ass.payAssessment,
               ass.packagingAssessment,
               ass.serviceAssessment,
               ass.notes,
               ass.sellerId,
               ass.adminId
               );
       }

       public static DataTable Bydt(int id)
       {
           return DAL.DbHelper.ExecuteDataTable("P_Assessment_isInertByDt",DateTime.Now,id);
       }

    }
}
